package com.uml.umlwork.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.uml.umlwork.entity.base.BaseEntity;
import com.uml.umlwork.entity.enumeration.GenderEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;
/**
 * @author Siki
 * @date 2020/12/22
 */
@ApiModel("学生实体")
@NoArgsConstructor
@Setter
@Getter
@Accessors(chain = true)
@TableName(value = "uml_student",autoResultMap = true)
public class Student extends BaseEntity {
    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("性别")
    private GenderEnum gender;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("学历")
    private String eduLevel;

    @ApiModelProperty("职业")
    private String job;

    @ApiModelProperty("账号模块")
    private String userId;
}
